package com.villaday.idf.model;

public class VipsNormal {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"imageUrl":"https://img.villaday.com/images/wxa/17/vip_normal.png","btn":{"miniAppId":"gh_08970ca2656f","name":"299元立即升级VIP","type":"4","url":"pages/rebate/index"}}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * imageUrl : https://img.villaday.com/images/wxa/17/vip_normal.png
         * btn : {"miniAppId":"gh_08970ca2656f","name":"299元立即升级VIP","type":"4","url":"pages/rebate/index"}
         */

        private String imageUrl;
        private BtnEntity btn;

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public BtnEntity getBtn() {
            return btn;
        }

        public void setBtn(BtnEntity btn) {
            this.btn = btn;
        }

        public static class BtnEntity {
            /**
             * miniAppId : gh_08970ca2656f
             * name : 299元立即升级VIP
             * type : 4
             * url : pages/rebate/index
             *
             * "params": {
             *       "id": "string,id，页面参数"
             *     }
             */

            private String miniAppId;
            private String name;
            private int type;
            private String url;
            private ParamsEntity params;
            private String title;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public ParamsEntity getParams() {
                return params;
            }

            public void setParams(ParamsEntity params) {
                this.params = params;
            }

            public static class ParamsEntity {
                /**
                 * imageUrl : https://img.villaday.com/images/house_856/23384/23384-10-107990.jpg
                 * name : 小径湾·至尊海景7房花园洋房
                 * id : V6y13Mw5Oo
                 */


                private String id;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }

            public String getMiniAppId() {
                return miniAppId;
            }

            public void setMiniAppId(String miniAppId) {
                this.miniAppId = miniAppId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
